package com.eshore.norm.controller;


import com.eshore.norm.pojo.dto.NormAddressGroup;
import com.eshore.norm.pojo.po.NormAddressGroupPO;
import com.eshore.norm.pojo.po.NormFlavorPO;
import com.eshore.norm.service.INormAddressGroupService;
import com.eshore.norm.service.INormFlavorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 安全组列表 前端控制器
 * </p>
 *
 * @author chenjl
 * @since 2024-01-05
 */
@RestController
@RequestMapping("/norm-address-group")
public class NormAddressGroupController {
    @Autowired
    INormAddressGroupService service;

    @PostMapping("/data-import")
    public void hostDataImport(@RequestBody NormAddressGroupPO po){
        service.dataImport(po);
    }
}
